package com.jy.datapipeline.export.service;

import com.jy.datapipeline.export.entity.ExpTaskExecuteDetailLogModel;
import java.util.List;
import java.util.Map;

public interface ExpTaskExecuteDetailLogService {
    public List<Map<String,Object>> findExpTaskExecuteDetailByList(String taskId,
        String taskExecuteLogId,String ruleTbl,String expStatus, int iDisplayStart,int iDisplayLength);
    public int findExpTaskExecuteDetailByCount(String taskId,
        String taskExecuteLogId,String ruleTbl,String expStatus);
    public boolean deleteByTaskId(String taskId);

    public boolean deleteByTaskExecuteLogId(String taskExecuteLogId);

    public boolean updateExpStatus(ExpTaskExecuteDetailLogModel etedl);

    public List<ExpTaskExecuteDetailLogModel> findByExpStatus(int expStatus, int dealyhour);

    public List<ExpTaskExecuteDetailLogModel> findBytaskExecutelogLogIdAndExpStatusLessThan(String taskExecutelogLogId,int expStatus);


    public List<ExpTaskExecuteDetailLogModel> findBytaskExecutelogLogIdAndExpStatus(String taskExecutelogLogId,int expStatus);


    public List<ExpTaskExecuteDetailLogModel> findBytaskExecutelogLogId(String taskExecutelogLogId);

    public List<Map<String, Object>> findBytaskExecutelogLogIds(String taskExecutelogLogId );

    String queryLatestStatusByTaskId(String task_id);
}
